﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PrivilegeAssignment.aspx.cs" Inherits="Bingosoft.WebApp.Modules.SecurityConsole.Role.PrivilegeAssignment" %>
<%@ Import Namespace="Bingosoft.Modules.SecurityConsole.Common.Helper" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>权限分配</title>
    <meta http-equiv="cache-control" content="no-store"/>
	<meta http-equiv="Pragma" content="no-cache"/>
	<meta http-equiv="Expires" content="0"/>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

    <web:Script ID="Script1" src="~/Scripts/jquery.js" runat="server" />
    <web:Script ID="Script2" src="~/Scripts/jquery.utils.js" runat="server" />
    <web:Script ID="Script5" src="~/Scripts/common.js" runat="server" />
    <web:Script ID="Script3" src="~/Scripts/jquery_plugins/jquery.json.js" runat="server" />
    <web:Script ID="Script8" src="~/Widgets/core/tree/ui.tree.js" runat="server" />

    <link id="Link3" href="~/Widgets/core/tree/ui.tree.css" rel="stylesheet" type="text/css" />

    <web:Script ID="Script4" src="~/Widgets/core/blockui/jquery.blockui.js" runat="server" />

    <link  href="~/Widgets/core/blockui/jquery.blockui.css" type="text/css" rel="stylesheet" />

    <script type="text/javascript" src="Script/PrivilegeAssignment.js"></script>
   
</head>
 <script type="text/javascript">
     var Global = {};
     Global.contextPath = '<%= RequestHelper.GetContextPath(Request) %>';
     var selectedOperationRuleList = []; //已选操作规则的数组

     var roleId = '<%=Request.Params["roleId"]%>';
	</script>
<body id="dialog">
<form id="form1" runat="server">
<div class="itemdetail">
    <div style="width:99%;padding-top:6px">
	  <table style="width:100%;height:20px;border:1px solid #f4b98e;background:#fefde8;">
	  <tr height="100%" valign="middle">
	  	<td width="99%" style="padding-left:2px" align="left">
	  		温馨提示：您现在是给&nbsp;<B>[<%=Request.Params["roleName"]%>]</B>&nbsp;角色分配权限
	  	</td>
	  </tr>
	  </table>    
	  </div>
      <table  width="100%">
      <tr>
      <td>
     <div class="datalist" style="width:99%">
   		<div class="datagrid" style="overflow:hidden;vertical-align: top" >
		  <table width="100%" style="height:90%">
  		<tr>
  			<td style="width:60%; height:450px;border: 1px solid #A9D6F6;vertical-align: top">
  				<div class="main" id="treeDiv"
					 style="width:100%; height:480px;  overflow-y: auto;padding-left:3px;vertical-align: top">
 				</div>
  			</td>
  			<td valign="top" width="40%">
  			<div style="padding-top: 8px;padding-left: 5px">
  				
  				<div id="dataEntityId"/>
               
  			</td>
  		</tr>
  </table>
		</div>
  		</td>
      </tr>
      <tr>
      <td>
       <!-- 页脚区域 -->
	<div class="footer">
		<asp:Button ID="Button1" runat="server" Text="确定" 
            OnClientClick="savePrivilege();return false"/>        
        <asp:Button ID="CloseButton2" runat="server" Text="关闭" OnClientClick="window.close();return false;" />        
	</div>
      </td>
      </tr>
      </table>
    
    </div>
    </form>
  </body>
</html>

